﻿using MahApps.Metro.Controls;
using System.Windows.Controls;
using UpperComputer.WPF.Entry.Common.Extensions;
using UpperComputer.WPF.Entry.ViewModels;

namespace UpperComputer.WPF.Entry.Views;

/// <summary>
/// UserPage.xaml 的交互逻辑
/// </summary>
public partial class UserPage : Page
{
    public UserPage()
    {
        InitializeComponent();
        DataContext = Furion.App.GetService<UserViewModel>();
        OperationPanel.FindChildren<Button>().CheckPermissions(nameof(UserPage));
    }
}
